From: Dmitry Gutov Date: Fri, 10 Sep 2021 00:44:49 +0000 (+0300) Subject: * lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~1337 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=44ba8278a64dec8f3fbec7c5eec613013d418f4c;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-current-indentation): Tweak obsoletion. --- diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index d3e40770694..6a03856eafc 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -836,7 +836,7 @@ The style of the comment is controlled by `ruby-encoding-magic-comment-style'." ;; `ruby-calculate-indent' in user init files still call it. (defun ruby-current-indentation () "Return the indentation level of current line." - (declare (obsolete nil "28.1")) + (declare (obsolete current-indentation "28.1")) (save-excursion (beginning-of-line) (back-to-indentation)